import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// import VueCookies from 'vue-cookies'
import api from "@/common/api"
import axios from "@/common/axios"
import request from "@/common/request"
import vueFilter from "@/common/vueFilter"

const app = createApp(App); // 创建实例
app.use(store).use(router).mount('#app');

app.config.globalProperties.$api = api;
app.config.globalProperties.$axios = axios;
app.config.globalProperties.$request = request;
app.config.globalProperties.$filter = vueFilter;
